home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / misc / gfx_demo / vect32.txt < prev    next >
Encoding:
Text File  |  1995-03-25  |  2.8 KB  |  71 lines

  1.  
  2.                 ***** expand with the -d option ******
  3.  
  4.  
  5.         VECT32.EXE is a SVGA/VGA interactive vector graphics thing written
  6. by me (Aaron Peapell). I think vect32 is worth checking out to see what's
  7. possible without using asm. It demonstrates,
  8.  
  9.                  * Solid  fill
  10.                  * Lambert shading
  11.                  * Texture mapping
  12.                  * Gouraud shading
  13.                  * Phong shading (very shitty)
  14.                  * All in SVGA and VGA modes
  15.  
  16.         This was written completely with GNU C(100%). The DOOM2 textures were
  17. captured by modifing the DEU editor, because I dont have a scanner and it looks
  18. cool. Example usage of VECT32.EXE and GEN.EXE from the command line.
  19.  
  20.          c:\>vect32                            *do it (vga with box)
  21.          c:\>gen 7 8 1.0 > sphere              *generate sphere data
  22.          c:\>svga                              *set up svga mode
  23.          c:\>vect32 sphere                     *do it(svga + sphere)
  24.           
  25.              VECT32.EXE  - Summary of keys and when to use them
  26.              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  27.         Keys that work all the time:
  28.  
  29.                 Cursor keys     :change the ROTATION around the x and z axis
  30.                 . ,             :change the DISTANCE of the object
  31.                 TAB             :change the METHOD of rendering
  32.                 esc q           :QUIT
  33.  
  34.         Keys that work when texture mapping:
  35.  
  36.                 = -             :change bitmap
  37.                 ; '             :change background bitmap
  38.  
  39.         NOT when texture mapping:
  40.  
  41.                 [              :changes base colour
  42.                 ]              :changes the 'palette'
  43.                 i, l, m, j     :changes the rotation of the LIGHT SOURCE
  44.                                 around the x and z axis respectivly
  45.  
  46.                           SVGA & VGA
  47.  
  48.         The supplied batch files set the environment variable GO32.
  49. This is needed by the dos extender. Setting it to nothing (set GO32= ) will
  50. let the demo run in vga mode (320x200x256). Setting it to YOUR video driver
  51. (see svga.bat) will run the demo in 640x480x256 or better.  You may have to
  52. experiment a little.
  53.  
  54.         GEN.EXE is a generator for points on a sphere. It reqiures
  55. the # of divisions up, around as well as the radius of the sphere to
  56. be given on the command line (1.0 is good see usage example above). The bug in
  57. the graphics when using a file produced by GEN.EXE is due to the generator and
  58. not vect32.
  59.  
  60.         If you are interseted in the source or want to send any comments,
  61. suggestions or WORK (i'm a pov student) to:
  62.  
  63.         Aaron Peapell
  64.  
  65.         email:
  66.                 n1178318@droid.fit.qut.edu.au
  67.  
  68.  
  69.             Paul van dyke, Dye Witness and Quench F'KEN RIP
  70.  
  71.